package jdk5.common;

import java.util.Date;
import java.io.Serializable;

public class Graduate extends Student implements Serializable{
      private Integer teacherId;
      
      public Graduate(){}
      public Graduate(String name, String sex, Date birthday){
           super(name, sex, birthday);
      } 

      public void setTeacherId(Integer teahderId){ this.teacherId = teacherId; }
      public Integer getTeacherId() { return teacherId; }
}